<?php
#
# REQUIRE
#
require_once dirname(__FILE__).'/__l.Captor.php';

#
# DEFAULT CONFIG
#
$CONFIG['session.secure'] = false;

#
# ACTIONS
#
function action_default($p) {
	global $CONFIG;

	if (isset($p['name'])) {
		$name = $p['name'];
	} else {
		$name = 'default';
	}

	captor_generate_captcha_session($CONFIG['captor.font'], $name, $CONFIG['captor.width'], $CONFIG['captor.height'], $CONFIG['captor.length']);
}
